package org.system.core;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * @author baoRoot
 */
@SpringBootApplication
@EnableAspectJAutoProxy(exposeProxy = true)
@MapperScan("org.system.core.mapper")
public class CloudFactoryConstructApplication {

    private static final Logger logger = LoggerFactory.getLogger(CloudFactoryConstructApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(CloudFactoryConstructApplication.class, args);
        logger.info("项目启动成功");
    }
}